<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
<form th:action="@{/adddog}" method="post">
    小狗姓名:<input type="text" name="dogName"><br>
    小狗年龄:<input type="text" name="dogAge"><br>
    小狗性别:<input type="text" name="dogSex"><br>
    小狗种类:<input type="text" name="dogType"><br>
    <input type="submit" value="提交">
</form>

</body>
</html>